<!--begin nav-menu-->
<? global $Menu2, $SubMenu2; ?>

<div class="menu-main">
    <div id="menu-c">
          <div class="menu wrap">
        <ul>
       <?php
		$m = count($SubMenu2);
		
		for($j=0; $j<$m; $j++){
			if(!empty($SubMenu2[$j]["name_$lg"]))
			{
				$class_active = '';
				$class_active = isset($_GET['cat2'])? (($_GET['cat2']==$SubMenu2[$j]["unique_key_$lg"])?' active':''):'';
				$class_active = ($j==0)? ('first'.$class_active):$class_active;
		?>
              <li class="<?=$class_active?>"><a href="<?=$SubMenu2Link[$j]; ?>" title="<?=$SubMenu2[$j]["name_$lg"]; ?>">
                <h2><?=$SubMenu2[$j]["name_$lg"]; ?></h2>
                </a></li>
             <?
		}}
		?>     
            </ul>
      </div>
          <div class="shaded wrap">&nbsp;</div>
        </div>
  </div> 